package com.cloud.job.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cloud.api.domain.job.VehicleMileage;
import com.cloud.job.mapper.VehicleMileageMapper;
import com.cloud.job.service.IVehicleMileageService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 杨斌
 * 2024-03-12/3/2024
 */
@Service("vehicleMileageService")
@DS("doris")
public class VehicleMileageServiceImpl extends ServiceImpl<VehicleMileageMapper, VehicleMileage> implements IVehicleMileageService {
    @Resource
    private VehicleMileageMapper vehicleMileageMapper;



    @Override
    public List<VehicleMileage> getVehicleMileage() {
        return vehicleMileageMapper.getVehicleMileage();
    }
}
